<?php

namespace App\Http\Controllers;

use App\Services\NovelService;
use Illuminate\Http\Request;

class EssenceController extends Controller
{
    public function getBanner(NovelService $novelService)
    {
        $banners = $novelService->getBanner();
        return renderSuccessJson($banners);
    }

    public function getEssenceLists(NovelService $novelService)
    {
        $ess = $novelService->getEssList();
        return renderSuccessJson($ess);
    }
}
